function [acc, result,classifier] = run_svm(tr_data, tr_label, te_data, te_label, ... 
                                 C_param, gamma_param)
%RUN_SVM Runs svm using radial basis kernel with the given C and gamma
%        parameters.
    option_str = sprintf('-t 2 -c %d -g %f', C_param, gamma_param); 
    classifier = svmtrain(tr_label, tr_data, option_str);
    [result, stats, ~] = svmpredict(te_label, te_data, classifier, '');
    acc = stats(1);
end

